#ifndef _light_h_included_
#define _light_h_included_
#include <d3dx9.h>
#include <d3d9.h>
#include "DXUtil.h"

//THis class contains all information for a light
//Supports: Directional Light
//Needs support for: Point Light source
class Light
{
	//The d3d light class
	D3DLIGHT9* mLight;
	//The direction of the light
	D3DVECTOR* mDir;

	
	int mLightNum; //This si the number for the light.
					//Will be used when modifyin g the light
					//on the d3d device
	bool mOn;	//If the light is on or off
			
public:
	Light();
	D3DLIGHT9* GetD3DLight();
	D3DVECTOR* GetDirection();
	int GetLightNumber();
	bool GetOn();

	void SetD3DLight(D3DLIGHT9* pLight);
	void SetDirection(D3DVECTOR* pVect);
	void SetLightNumber(int pNum);
	void SetOn(bool pOn);
};
#endif
